<?php
	ob_start();
	session_start();
	require_once('library/loader.php');
?>
 <?php 
	$tbl = new table("news");
	$res= $tbl->loadOne('id=2950');	
	if(mysql_num_rows($res)<>0)
	{
		while($row=mysql_fetch_array($res))
		{
		}
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <title>Bảo hành - Máy tính bảng giá sỉ</title>    
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<meta http-equiv="Content-Language" content="en-US" />
	<meta name="keywords" content="Bảo hành - Máy tính bảng giá sỉ" />
	<meta name="author" content="website" />
	<meta name="description" content="Bảo hành - Máy tính bảng giá sỉ" />
	<meta property="og:locale" content="vi_VN" />
	<meta property="og:title" content="Bảo hành - Máy tính bảng giá sỉ" />
	<meta property="og:description" content="Bảo hành - Máy tính bảng giá sỉ" />
	<meta property="og:site_name" content="name" />
	<meta property="og:type" content="website" />
	<meta property="og:image" content="favicon.ico" />    
	<meta name="viewport" content="width=device-width">
    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <!-- build:css styles/vendor.css -->
    <!-- bower:css -->

    <!-- endbower -->
    <!-- endbuild -->
    <!-- build:css(.tmp) styles/main.css -->
    <link rel="stylesheet" href="styles/main.css">
    <link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,vietnamese' rel='stylesheet' type='text/css'>
    <!-- endbuild -->
    <!-- build:js scripts/vendor/modernizr.js -->
    <script src="scripts/vendor/modernizr.js"></script>

    <link rel="stylesheet" href="styles/select2.css">
    <!-- endbuild -->
    <link rel="shortcut icon" href="http://maytinhbanggiasi.com/favicon.ico">
</head>
<body>

    <div class="hdf-container">

    <header>
    <div class="container">
        <div class="row">
            <h1 class="hdf-logo">
                <a href="/" title="HD Finance">
                    <img src="http://maytinhbanggiasi.com/public/mtbbr/images/logo.png" class="img-responsive" alt="HD Finance" width="202" />
                </a>
            </h1>
            <div class="clearfix">
                <form class="hdf-form-search " role="form">
                    <div class="input-group input-group-sm">
                        <input type="text" name="key-search" value="" class="form-control" placeholder="Tìm kiếm...">
                        <a href="javascript:void(0)" class="hdf-glassicon"><span class="glyphicon glyphicon-search"></span></a>
                    </div>
                </form>
                <div class="hdf-hotline">
                    <span class="label">Hotline</span><span class="number">0909 017 052</span>
                </div>
            </div>

            <nav class="hdf-navmain pull-right">
                <ul class="nav nav-pills">
                  <li><a href="/">Trang chủ</a></li>
                  <li><a href="gioi-thieu.html">Giới thiệu</a></li>
                  <li><a href="san-pham.html">Sản phẩm</a></li>
                  <li><a href="khach-hang/khuyen-mai.html">Dành cho khách hàng</a></li>
                  <li><a href="gioi-thieu-cong-viec.html">Nghề nghiệp</a></li>
                  <li><a href="doi-tac.html">Đối tác</a></li>
                </ul>
            </nav>

        </div>
    </div>

    <div class="hdf-quickmenu" id="hdf-quickmenu">
        <div class="navbar navbar-inverse">
            <div class="container">
                <div class="row">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                    </div>
                    <div class="collapse navbar-collapse">
                        <div class="row">
                            <ul class="nav navbar-nav">
                              <li><a href="javascript:void(0);" id="hdf-fireratebd">
                                <span class="hdficon hdficon-chart"></span> <strong>Tin tức công nghệ</strong></a></li>
                              <li><a href="tien-tra-hang-thang.html">
                                <span class="hdficon hdficon-monitor"></span> <strong>Tin tức máy tính bảng</strong></a></li>
                              <li><a href="meo-tieu-dung.html">
                                <span class="hdficon hdficon-tips"></span> <strong>Mẹo tiêu dùng</strong></a></li>
                              <li><a href="khuyen-mai.html">
                                <span class="hdficon hdficon-box"></span> <strong>Khuyến mại</strong></a></li>
                              <li><a href="tham-do-y-kien.html"><span class="hdficon hdficon-pencial">
                                </span> <strong>Thăm dò ý kiến</strong></a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
<!--//End Header-->
<div class="hdf-frate menu-tinhlaisuatthang" id="hdf-frate">
    <form class="tinhlaisuatthang" role="form" action="/">
        <div class="form-group">
        <label for="id_danh_muc">Mã đơn hàng <span class="rq-field">*</span></label>
        		
		<input type="text" name="ma_don_hang" id="ma_don_hang" value="" class="form-control" placeholder="Giá tiền sản phẩm" />		    </div>
	    
		

        <div class="form-group">
        <label for="so_tien_vay">Tài khoản <span class="rq-field">*</span></label>
        
		<input type="text" name="so_tien_vay" id="so_tien_vay" value="" class="form-control" placeholder="Giá tiền sản phẩm" />		    </div>
		
		
		<div class="form-group">
        <label for="so_tien_vay">Mật khẩu <span class="rq-field">*</span></label>
        
		<input type="text" name="mat_khau" id="mat_khau" value="" class="form-control" placeholder="Giá tiền sản phẩm" />		    </div>
		


		<div class="clearfix">
			<button type="submit" class="btn btn-result btn-red">Kết quả</button>
			<button type="button" onclick="window.location='http://demo.thietkeseo.com/san-pham/thu-tuc-vay.html'" class="btn btn-default btn-addit">Điều kiện &amp; Điều khoản</button>
		</div>
</form>
</div>
<style>
.hdf-formreg .form-horizontal .form-control {
    float: none;
}
.select2-container .select2-choice abbr {
    right: 20px;
}
.select2-container .select2-choice {
    height: 33px;
    padding-top: 2px;
}
#fileMainPreview {
    position: absolute;
    left: 147px;
    top: 5px;
    font-weight: 700;
    font-style: italic;
}
</style>
        <div class="container">
    <div class="hdf-banner">
        <div class="carousel slide" data-ride="carousel" id="banner-carousel">
            <div class="carousel-inner">
			<div class="item active">
			<img src="images/banner/Banner chính 1s.jpg" alt="Banner-chinh-1s" width="1000" height="269">
			</div>
			<div class="item">
			<a href="san-pham/dang-ky-vay.html" target="_blank" title="Banner-chinh-2s">
			<img src="images/banner/Banner promotion s.jpg" alt="Banner-chinh-2s" width="1000" height="269"></a></div>
			<div class="item">
			<a href="san-pham/du-lich-5.html" target="_blank" title="Dulich">
			<img src="images/banner/pic-4.jpg" alt="Dulich" width="1000" height="269"></a>
			</div>
			</div>
            <a class="left carousel-control" href="#banner-carousel" role="button" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
            <a class="right carousel-control" href="#banner-carousel" role="button" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
        </div>

        <!--//End Slogan advs-->
        <!--//End Box Notice-->
    </div>
</div>
<!--//End Banner-->
<div class="container">
    <div class="row row-offcanvas row-offcanvas-right">
        <div class="col-xs-12 col-sm-8">
            <div class="hdf-maincontent">
                <p class="pull-right visible-xs">
                    <button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
                </p>
                <div class="row">
                    <div class="col-md-12 rtl-gutter hdf-r-gutter">
                        <div class="hdf-news">
						<div class="clearfix">
							<div class="hdf-title pull-left">Thông tin bảo hành</div>
						</div>
						<div id="contentajax">
						<?php if(isset($_GET['ma_don_hang'])) { ?>
						<table class="zui-table zui-table-highlight-column">
							<thead>
								<tr>
									<th>Họ tên khách hàng</th>
									<th width="15%">Ngày mua hàng</th>
									<th width="15%">Ngày hết bảo hành</th>
									<th width="15%">Trạng thái bảo hành</th>
									<th width="15%">Ngày xuất phiếu</th>
								</tr>
							</thead>
							<tbody>
							<?php $_GET['ma_don_hang']; ?>
							<?php for($i = 0; $i < $_GET['ma_don_hang']; $i++) {?>
								<tr>
									<td><a id="various1" href="#inline<?php echo $i; ?>">Đặng Thanh Phong <?php echo $i; ?></a>
									<div style="display: none;">
										<div id="inline<?php echo $i; ?>" style="width:500px; height:300px; ">
											Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam quis mi eu elit tempor facilisis id et neque. Nulla sit amet sem sapien. Vestibulum imperdiet porta ante ac ornare. Nulla et lorem eu nibh adipiscing ultricies nec at lacus. Cras laoreet ultricies sem, at blandit mi eleifend aliquam. Nunc enim ipsum, vehicula non pretium varius, cursus ac tortor. Vivamus fringilla congue laoreet. Quisque ultrices sodales orci, quis rhoncus justo auctor in. Phasellus dui eros, bibendum eu feugiat ornare, faucibus eu mi. Nunc aliquet tempus sem, id aliquam diam varius ac. Maecenas nisl nunc, molestie vitae eleifend vel, iaculis sed magna. Aenean tempus lacus vitae orci posuere porttitor eget non felis. Donec lectus elit, aliquam nec eleifend sit amet, vestibulum sed nunc.
										</div>
									</div>
									</td>
									<td>20/10/2014</td>
									<td>20/10/2015</td>
									<td>Tốt</td>
									<td>20/10/2014</td>
								</tr>
							<?php } ?>	
							</tbody>
						</table>
						<?php } else { ?>
						<div style="text-align: center; margin-top: 65px;">
						<img src="http://didonghanviet.com/wp-content/uploads/2014/04/banner.jpg"/>
						</div>
						<?php } ?>
						</div> 
					</div>                    
				</div>
                </div>

            </div>
        </div>

        <div class="col-xs-6 col-sm-4" id="sidebar" role="navigation">
            <div class="sidebar-offcanvas rts-gutter">
                <div class="hdf-title">Kiểm tra chế độ bảo hành</div>
                <form class="tinhlaisuatthang" role="form" action="">
        <div class="form-group">
        <label for="id_danh_muc">Mã đơn hàng <span class="rq-field">*</span></label>
        		
		<input type="text" name="ma_don_hang" id="ma_don_hang" value="<?php echo $_GET['ma_don_hang'];?>" class="form-control" placeholder="Mã đơn hàng" />		    
		</div>
	    
		

        <div class="form-group">
        <label for="so_tien_vay">Tài khoản <span class="rq-field">*</span></label>
        
		<input type="text" name="tai_khoan" id="tai_khoan" value="<?php echo $_GET['tai_khoan'];?>" class="form-control" placeholder="Tài khoản" />		    
		</div>
		
		
		<div class="form-group">
        <label for="so_tien_vay">Mật khẩu <span class="rq-field">*</span></label>
        
		<input type="text" name="mat_khau" id="mat_khau" value="<?php echo $_GET['mat_khau'];?>" class="form-control" placeholder="Mật khẩu" />		    
		</div>
		
		<div class="form-group">
        <label for="so_tien_vay">Mã sản phẩm <span class="rq-field">*</span></label>
        
		<input type="text" name="ma_san_pham" id="ma_san_pham" value="<?php echo $_GET['ma_san_pham'];?>" class="form-control" placeholder="Mật khẩu" />		    
		</div>
		

		<div class="clearfix">
			<button type="submit" id="jquery_link" class="btn btn-result btn-red">Kết quả</button>
		<br/>
		</div>
		</form>                        
		</div>
        </div>
    </div>

    <div class="row">
        <div class="hdf-partners">
			<div id="carouselpn" class="carousel slide" data-ride="carousel">
				<div class="carousel-inner">
					<div class="item active">
						<ul class="nav nav-justified">
				
						  <li><a target="_blank" href="http://www.bigc.vn/" title="BigC">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://dienmaycholon.vn/" title="Điện máy Chợ Lớn">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://cpn.vn/" title="CPN">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://www.bkc.vn/" title="BK">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://mediamart.vn/" title="Mediamart">
							<img src="images/mediamart.png" alt=""></a></li>
						</ul>
					</div>
					<div class="item">
						<ul class="nav nav-justified">
				
						  <li><a target="_blank" href="http://www.bigc.vn/" title="BigC">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://dienmaycholon.vn/" title="Điện máy Chợ Lớn">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://cpn.vn/" title="CPN">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://www.bkc.vn/" title="BK">
							<img src="images/mediamart.png" alt=""></a></li>
				
						  <li><a target="_blank" href="http://mediamart.vn/" title="Mediamart">
							<img src="images/mediamart.png" alt=""></a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
    </div>
</div>
		<style>.sidebar-offcanvas label {    font-weight: normal;}.sidebar-offcanvas button {    font-size: 13px;}</style>
        
		<footer>
		<a href="javascript:void(0)" class="hdf-movetop" id="hdf-movetop"></a>
		<div class="container">
			<nav class="hdf-fmenu">
				<ul class="nav">
					<li><a href="gioi-thieu.html">GIỚI THIỆU</a> <span>/</span></li>
					<li><a href="san-pham.html">SẢN PHẨM</a> <span>/</span></li>
					<li><a href="khach-hang/khuyen-mai.html">Dành cho khách hàng</a> <span>/</span></li>
					<li><a href="khach-hang/cau-hoi-thuong-gap.html">CÂU HỎI THƯỜNG GẶP</a> <span>/</span></li>
					<li><a href="khach-hang/khao-sat-y-kien.html">Thăm dò ý kiến</a> <span>/</span></li>
					<li><a href="doi-tac/lien-he-hop-tac.html">LIÊN HỆ</a></li>
				</ul>
			</nav>
		</div>
		<div class="hdf-socials">
			<div class="nav center-block">
				<span><a href="javascript:void(0)"><span class="hdficon hdficon-tw"></span></a></span>
				<span><a href="javascript:void(0)"><span class="hdficon hdficon-fb"></span></a></span>
				<span><a href="javascript:void(0)"><span class="hdficon hdficon-goo"></span></a></span>
				<span><a href="javascript:void(0)"><span class="hdficon hdficon-pin"></span></a></span>
			</div>
		</div>
		<div class="hdf-cp">Copyright © 2014 maytinhbanggiasi.com. All rights reserved.</div>
		</footer>
		<!-- build:js scripts/vendor.js -->
		<!-- bower:js -->
		<script src="scripts/vendor/jquery.min.js"></script>
		<!-- endbower -->
		<!-- endbuild -->
		<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->


		<!-- build:js scripts/plugins.js -->
		<script src="scripts/vendor/bootstrap.js"></script>
		<!-- endbuild -->
		<script src="scripts/vendor/sticky.js"></script>
		<!-- build:js({app,.tmp}) scripts/main.js -->
		<script src="scripts/main.js"></script>
		<!-- endbuild -->
		<script type="text/javascript">
		  window.___gcfg = {lang: 'vi'};

		  (function() {
			var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
			po.src = 'https://apis.google.com/js/platform.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
		  })();
		</script>
		<div id="fb-root"></div>
		<script>
		(function(d, s, id) {
		  var js, fjs = d.getElementsByTagName(s)[0];
		  if (d.getElementById(id)) return;
		  js = d.createElement(s); js.id = id;
		  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
		  fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));
		</script>
        <script src="scripts/jquery.validate.min.js"></script>
        <script src="service/scripts/select2.min.js"></script>
        <script src="service/js/jquery.blockUI.js"></script>
        <script src="service/scripts/toan.js"></script>
        <!-- endbuild -->
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
		<script>
			!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
		</script>
		<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
		<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.pack.js"></script>
		<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
		<link rel="stylesheet" href="style.css" />
		<script type="text/javascript">
			$(document).ready(function() {
				/*
				*   Examples - images
				*/
				$("#various1").fancybox({
					'titlePosition'		: 'inside',
					'transitionIn'		: 'none',
					'transitionOut'		: 'none'
				});
			});
		</script>
		<style>
		.zui-table {
			border: solid 1px #e51937;
			border-collapse: collapse;
			border-spacing: 0;
			font: normal 13px Arial, sans-serif;
			width: 100%;
		}
		.zui-table thead th {
			background-color: #e51937;
			border: solid 1px #e51937;
			color: #fff;
			padding: 10px;
			text-align: left;
		}
		.zui-table tbody td {
			border: solid 1px #e51937;
			color: #333;
			padding: 10px;
			text-shadow: 1px 1px 1px #fff;
		}
		.zui-table-highlight tbody tr:hover {
			background-color: #e51937;
		}
		.zui-table-horizontal tbody td {
			border-left: none;
			border-right: none;
		}
		</style>
</body>
</html>